package com.wxlgroup.springboot.exception;
import lombok.Getter;
/**
 * @auther:wxl
 * @Date:2022/5/24-05-24-19:38
 * @Description:com.wxlgroup.springboot.exception
 * @Version:1.0
 */
@Getter
public class ServiceException extends RuntimeException {

    private String code;    //一异常代码


    public ServiceException(String code,String msg){
        super(msg);
        this.code=code;
    }
}
